import ReactDOM from 'react-dom/client';
import zhCN from 'antd/es/locale/zh_CN';
import { ConfigProvider } from 'antd';
import Task from './view/Task'
import { Provider } from 'mobx-react'
import store from './store'
const root = ReactDOM.createRoot(document.querySelector('#root'));
root.render(
	<ConfigProvider locale={zhCN}>
		{/* 基于Provider把各个板块的Store的实例，都放在上下文中 */}
		<Provider {...store} /* task={store.task} personal={store.personal} */>
			<Task />
		</Provider>

	</ConfigProvider>
)
